package com.atjava.nebula.core.tablexml.view;

import java.io.Serializable;
import java.util.List;

import com.atjava.jox.annotation.ClassProps;
import com.atjava.jox.annotation.FieldProps;
import com.atjava.jox.annotation.FieldProps.ElementType;

@ClassProps(alias="button")
public class Button implements Serializable{

	@FieldProps(alias = "class")
	private String clazz;
	
	@FieldProps
	private String action;
	
	@FieldProps
	private String icon;
	
	@FieldProps
	private String text;
	
	@FieldProps(type = ElementType.ELEMENTLIST)
	private List<Param> params;
	
	public String getClazz() {
		return clazz;
	}

	public void setClazz(String clazz) {
		this.clazz = clazz;
	}

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public List<Param> getParams() {
		return params;
	}

	public void setParams(List<Param> params) {
		this.params = params;
	}
	
}
